<%@ page contentType="text/html" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.Iterator" %>
<%@ page import="org.tigr.htc.persist.*" %>
<%@ page import="org.tigr.htc.common.*" %>
<%@ page import="org.tigr.htc.cmd.*" %>

<html>
<head>
</head>

<body>
Display XML Request
<form method="get" action="request_display_xml.jsp">
    Display request with id <input type="text" name="RequestID" value=""/>&nbsp;<input type="submit" value="find" /><br>

</form>

<%
IPersist pl = PersistFactory.getIPersist();
long id;
Command cmd;
String sid = request.getParameter("RequestID");
if(sid != null) { // display default page
    id = Long.parseLong(sid);
    cmd = (Command) pl.find(id, Command.class);
%>
<pre>
<%= cmd.toString().replaceAll(">", "&gt;").replaceAll("<", "&lt;").replaceAll("\"", "&quot;") %>
</pre>
<% } %>
<hr>
tigr copyright notice here

</body>
</html>
